Selective Backtracking for Logic Programs

نویسندگان

  • Luís Moniz Pereira
  • António Porto
چکیده

We present a selective backtracking method for Horn clause programs, as applied to Prolog (2)[8)(11)[12], a programming language based on first-order predicate calculus (3)(4)~ developed at the university of Marseille (18]. This method is based on the general method expounded in (7] for backtracking intelligently in AND/OR trees. It consists, essentially, in avoiding backtracking to any goal whose alternative solutions cannot possibly prevent the repetition of the failures which caused backtracking. This is a renewed version of an earlier report (8), which was spurred by the work of Bruynooghe (1). In (g] we present an implementation of a selective backtracking interpreter using the methods discussed in this paper.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Factoring Pure Logic Programs

This paper describes a factoring algorithm that removes deep backtracking from logic programs that is in general applicable to a large subclass of well-moded logic programs. Originally developed for the pure logic programming language Elf [10], our results can also be applied to other logic programming languages, such as Prolog and -Prolog [9], as well. Further applications of factoring include...

متن کامل

Factoring Proofs

Logic programs, when total, realize proofs via a realizability interpretation similar to the Curry Howard isomorphism. The challenge in statically deciding totality lies in checking for termination and for coverage. For Elf logic programs, sophisticated algorithms exist for both problems. However, those solutions only apply to a much smaller subset of logic programs than a programmer is typical...

متن کامل

Unrestricted And-Parallel Execution of Logic Programs with Dependency Directed Backtracking

A model of unrestricted And-parallel execution for logic programs is described, based on Dependency Directed Backtracking (DDBT) aimed at improving the efficiency of execution while remaining faithful to conventional syntax and semantics. This is achieved with maximum exploitation of parallelism, DDBT, support of opportunistic stream parallelism and potentially parallel backtracking. The same d...

متن کامل

Proceedings of CICLOPS 2007 7 th International Colloquium on Implementation of Constraint and LOgic Programming Systems

The message of this paper is the following: there is one more basic principle of operational semantics of logic programming (besides backtracking, recursion, etc.) that gives a solution of challenging problem of combining strict declarative semantics of logic languages with the dynamic behavior (that includes destructive assignment operations and interaction with dynamic environment). We have d...

متن کامل

Operational Approach to the Modified Reasoning, Based on the Concept of Repeated Proving and Logical Actors

The message of this paper is the following: there is one more basic principle of operational semantics of logic programming (besides backtracking, recursion, etc.) that gives a solution of challenging problem of combining strict declarative semantics of logic languages with the dynamic behavior (that includes destructive assignment operations and interaction with dynamic environment). We have d...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1980